package com.gxuwz.medical.dao;

import java.sql.ResultSet;
import java.sql.SQLException;

import com.gxuwz.medical.domain.grade.Grade;

public class GradeDao extends GenericDao<Grade> {
	@Override
	protected Grade handle(ResultSet rs) throws SQLException {
			Grade g = new Grade();
			String name = rs.getString("name");
			String grade = rs.getString("grade");
			Grade entity=new Grade(name, grade);
			return entity;
		}
		
	}
